{extend name="base" /}
{block name="content"}
<div class="g-main">
    <div class="m-main-title">
        <div class="m-container-fluid">
            <a href="{:url('index/welcome')}"><i class="icon icon-home"></i>首页</a>
            <span class="icon-angle-right"></span>
            <span>商城</span>
            <span class="icon-angle-right"></span>
            <span>票务管理</span>
            <span class="icon-angle-right"></span>
            <span>核销记录</span>
            <a class="u-flush"><i class="icon-repeat"></i></a>
        </div>
    </div>
    <div class="m-main-content">
        <div class="m-container">
<!--            <table class="m-table">-->
<!--                <tr>-->
<!--                    <th>-->
<!--                        <div class="m-options cf">-->
<!--                            <div class="m-opts fl"><a href="{:url('add')}" class="u-btn"><i class="icon-plus"></i>添加核销员</a></div>-->
                            <!--                            <div class="m-search fr">-->
                            <!--                                <form action="/manage/article/search" class="layui-form">-->
                            <!--                                    <div class="lay-select">-->
                            <!--                                        <select name="examine_status">-->
                            <!--                                            <option value="">请选择文章审核状态</option>-->
                            <!--                                            <option value="0">待审核</option>-->
                            <!--                                            <option value="1">审核通过</option>-->
                            <!--                                            <option value="2">申请驳回</option>-->
                            <!--                                        </select>-->
                            <!--                                    </div>-->
                            <!--                                    <div class="lay-select">-->
                            <!--                                        <select name="status">-->
                            <!--                                            <option value="">请选择文章状态</option>-->
                            <!--                                            <option value="0">上架</option>-->
                            <!--                                            <option value="1">下架</option>-->
                            <!--                                        </select>-->
                            <!--                                    </div>-->
                            <!--                                    <input type="submit" class="u-btn u-search" value="查看" />-->
                            <!--                                </form>-->
                            <!--                            </div>-->
<!--                    </th>-->
<!--                </tr>-->
<!--            </table>-->
            <form class="layui-form">
                <table class="m-table mt-10">
                    <tbody class="datas">
                    <tr>
                        <th width="5%">ID</th>
                        <th width="10%">核销员名称</th>
                        <th width="10%">绑定用户昵称</th>
                        <th width="10%">商品名称</th>
                        <th width="10%">商品规格</th>
                        <th width="10%">核销时间</th>
<!--                        <th width="10%">操作</th>-->
                    </tr>
                    {foreach name="data" item="v"}
                    <tr>
                        <td>{$v.id}</td>
                        <td>{$v.verification_name}</td>
                        <td>{$v.verification_nickname}</td>
                        <td>{$v.goods_info['goods_name']}</td>
                        <td>{$v.goods_info['sku_name']}</td>
                        <td>{$v.created_at}</td>

                    </tr>
                    {/foreach}
                    </tbody>
                </table>
            </form>
            {include file="public:page" /}
        </div>
    </div>
</div>
{/block}


